import type { RouteRecordRaw } from "vue-router";
import NotFound from '@/pages/system/40X/404.vue'
const routes: RouteRecordRaw[] = [
    {
        path: '/Login',
        name: 'login',
        component: () => import('@/pages/Login/index.vue'),
        meta: {
            title: '登录'
        }
    },
    {
        path: '/expert-login',
        name: 'expertLogin',
        component: () => import('@/pages/Login/login2.vue'),
        meta: {
            title: '专家登录'
        }
    },
    {
        path: '/teacher',
        name: 'teacher',
        component: () => import('@/layout/teacher/teacher.vue'),
        meta: {
            title: ''
        },
        children: [
            {
                path: '/expertReview',
                name: 'expertReview',
                component: () => import('@/pages/expertReview/index.vue'),
            },
            {
                path: '/reviewStatistics',
                name: 'reviewStatistics',
                component: () => import('@/pages/reviewStatistics/index.vue'),
            }
        ]
    },
    { path: '/:pathMatch(.*)*', name: '404', component: NotFound },
]


export default routes;